import time

import akshare as ak

# 港股股票指数数据
# 实时行情数据 - 东财
df = ak.stock_hk_index_spot_em()
print(df)
# date = time.strftime("%Y%m%d", time.localtime())
# df.to_excel(f"港股指数-东财-{date}.xlsx", index=False)